<?php
/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Vote
 * @copyright  Copyright KEENONWEB LLC
 * @license    http://www.keenonweb.com/
 * @version    $Id: Search.php 2011-03-09 08:45:41Z idris $
 * @author     Idris
 */

/**
 * @category   Application_Extensions
 * @package    Vote
 * @copyright  Copyright KEENONWEB LLC
 * @license    http://www.keenonweb.com/
 */

class Vote_Form_Search extends Engine_Form {
	
	public function init() {
		$this->loadDefaultDecorators ();
		
		$this->addElement ( 'Text', 'keyword', array ('order' => - 3, 'decorators' => array ('ViewHelper', array ('HtmlTag', array ('tag' => 'li' ) ) ) ) );
		
		$this->addElement ( 'Button', 'submit', array ('label' => 'Search', 'order' => 10000, 'type' => 'submit', 'decorators' => array ('ViewHelper', array ('HtmlTag', array ('tag' => 'li' ) ) ) ) );
		
		$this->addAttribs ( array ('id' => 'vote_filter_form', 'class' => 'global_form_box' ) );
		$this->getContestTypeElement ();
	}

}